package cn.njxzc.Java2017;

public class Ex {

	int u,v;
	void p2(int x,int y){
		int i,j;
		for(i=1;i<=x;i++){
			j=y+i;
			System.out.print(j+",");
		}
	}
void p(){
	u=3;
	v=2;
	p2(u, v);
	System.out.println();
	u+=v;
	v*=u;
	p2(u, v);
	
}
public static void main(String[] args) {
	Ex A=new Ex();
	A.p();
	
}
}
